package com.bdqn.crm.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_role")

@JsonIgnoreProperties(value = {"hibernateLazyInitializer","handler"})
public class SysRole implements Serializable {

//  @TableId(type = IdType.AUTO)
  private long roleId;
  private String roleName;
  private String roleDesc;
  private long roleFlag;
}
